package com.tuyou.cloud.feign.service;

import com.tuyou.config.FeignConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 修改feign默认契约
 */
@FeignClient(name = "hello-service", configuration = FeignConfiguration.class)
public interface DefaultFeignService {

    @GetMapping("/hello")
    String hello();
}
